@(pages:List[models.cms.CMSPage])

@cms{


    <table>
        @for(page<-pages){
            <tr>
                <td><a href="@routes.Admin.editPage(page.name)">@page.name</a></td>
                <td>@page.title</td>
            </tr>
        }
    </table>

    <a href="@routes.Admin.addPage">New Page</a><br/>

    @pages.size() Pages found.
}